package com.hfuuTaf.service.implement;

import com.hfuuTaf.mapper.promotionalPhotosMapper;
import com.hfuuTaf.pojo.promotionalPhotos;
import com.hfuuTaf.service.photosService;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * 俱乐部宣传图片
 */
@Service
public class photosServiceImpl implements photosService {
    private final promotionalPhotosMapper promotionalPhotosMapper;

    public photosServiceImpl(promotionalPhotosMapper promotionalPhotosMapper) {
        this.promotionalPhotosMapper = promotionalPhotosMapper;
    }

    @Override
    public List<promotionalPhotos> queryAll() {
        return promotionalPhotosMapper.queryAll();
    }
}
